package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.List;


import static org.jsola.hr.example.ChannelGroupExample.E_DESCRIBE;
import static org.jsola.hr.example.ChannelGroupExample.N_DESCRIBE;

/**
 * 渠道分组
 *
 * @author zdd
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【渠道分组】列表展示对象")
@Data
public class ChannelGroupsVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "一级组名")
    private String name;

    @ApiModelProperty(notes = "1超级管理员2分组总管理3其他")
    private Integer jurisdiction;

    @ApiModelProperty(notes = "人数")
    private Integer number;

    @ApiModelProperty(notes = "渠道组List")
    private List<ChannelGroupListVO> channelGroupVOList;

    @ApiModelProperty(notes = N_DESCRIBE, example = E_DESCRIBE)
    private String describe;

    @ApiModelProperty(notes = "一级分组ID")
    private String id;


}